$bool = Fs.Move
("<source>", "<destination>")
Moves the file from its current location.
Parameters
<source> The file to be moved.
<destination> Path to which the file should be moved.
Return Value
Returns 1 if successfully moved, else returns 0.
Remarks
- The file or data gets transferred to the destination stipulated without leaving a copy in the source file.
- If full path of either the source file or the destination file is not given, it searches only in the location of the current script.
Example
$src = "C:\Plugins\Source.htm"
$dest = "Destination.htm"
$ret = fs.Move ($src, $dest)